package com.erlin.store.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author alin
 * @since 2021-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class StoreMember implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long storeId;

    private String storeMid;

    private Long userId;

    /**
     * 成员类型 1管理员 2营业员 3配送员
     */
    private Integer memberType;

    /**
     * 成员状态 -1禁用 1正常 2请假中
     */
    private Integer memberStatus;

    /**
     * 添加时间
     */
    private LocalDateTime ctime;

    /**
     * 更新时间
     */
    private LocalDateTime utime;


}
